package phoenix.core.base.extensions;

import phoenix.core.PhoenixManager;
import phoenix.core.helpers.PageBackendHelper;
import phoenix.core.helpers.PageMobSiteHelper;
import phoenix.core.helpers.extensions.MobDriverHelperExt;

/**
 * The base class for test classes.
 */
public class TestBaseMobSiteExt extends TestBaseExt
{

	/**
	 * Initializes TestBaseMobExt
	 * 
	 * @param p_manager PhoenixManager instance
	 */
	public TestBaseMobSiteExt(PhoenixManager p_manager)
	{
		super(p_manager);
	}

	/**
	 * Provides access to PageMobHelper
	 * 
	 * @return PageMobHelper instance
	 */
	protected PageMobSiteHelper page()
	{
		return manager.mob();
	}

	/**
	 * Provides access to PageBackendHelper
	 * 
	 * @return PageBackendHelper instance
	 */
	protected PageBackendHelper backend()
	{
		return manager.backend();
	}

	/**
	 * Link method to WebDriverHelperMobExt
	 * 
	 * @return WebDriverHelperMobExt instance
	 */
	public MobDriverHelperExt md()
	{
		return manager.md();
	}
}
